<script setup>
import { RouterView } from 'vue-router'
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'


</script>

<template>
  <el-config-provider :locale="zhCn">
        <RouterView />
    </el-config-provider>
</template>

<style>

:root {
    --wchime-color-white: #fff;
    --wchime-color-dark: #464646;
    --wchime-color-dark-hover: #464646cc;
    --wchime-color-dark-active: #282828;
    --wchime-color-header-tool: #888;
    --wchime-color-coin: #ffaa23;
    --wchime-color-highlight: #409eff;
    --wchime-color-hover-highlight: #409eff;
    --wchime-bg-color-tag: #fff7da;
    --wchime-bg-color-tag-close: #dfd8be;
    --wchime-color-text: #666;
    --wchime-bg-color-page: #f1f1f1;
    --wchime-color-border: #d6d4d4;

}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100%;
    /* min-width: 1440px; */
    color: var(--wchime-color-text);
    background: var(--wchime-bg-color-page);
    transition: color 0.1s, background-color 0.1s;
    line-height: 1.5;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#app {
width: 100%;
height: 100%;
margin: 0;
    padding: 0;
}

/* 修改滚动条的宽度和颜色 */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
 
/* 修改滚动条滑块的样式 */
::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 5px; /* 修改滑块圆角 */
}
 
/* 修改滚动条滑块悬停时的样式 */
::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

button:focus, button:focus-visible {
    outline: none;
}
</style>
